package com.javaweb.service;

import com.javaweb.entity.User;

public interface UserService {
    User findByUsername(String username);

    void register(java.lang.String username, java.lang.String password);

    void update(User user);

    void updateAvatar(String avatarUrl);

    void updatePwd(String newPwd);
}
